package com.apartment.own.request.sys;

import com.apartment.common.annotation.Excel;
import com.apartment.common.core.page.PageDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import java.io.Serializable;

/**
 * @program: HousingRental_tenant_Server_JAVA
 * @description: 系统消息
 * @author: @Dog_E
 * @create: 2020-09-05 11:27
 **/
@Data
@ApiModel
public class NotificationMessageDTO extends PageDomain implements Serializable {

    /**
     * 消息状态 0:未读
     */
    public static final int UNREAD = 0;

    /**
     * 消息状态 1:已读
     */
    public static final int HAVE_READ = 1;

    /**
     * ID
     */
    @ApiModelProperty("ID")
    private String id;

    /**
     * 消息状态
     */
    @ApiModelProperty("消息状态")
    @NonNull
    private Integer messageStatus;

    /** 大标题 */
    @ApiModelProperty("大标题")
    private String headline;

    /** 小标题 */
    @ApiModelProperty("小标题")
    private String title;

    /** 内容 */
    @ApiModelProperty("内容")
    private String content;

    /**
     * 消息类型
     */
    @ApiModelProperty("消息类型")
    @NonNull
    private Integer messageType;

    /**
     * 未读条数
     */
    @ApiModelProperty("未读条数")
    private Integer unreadNumber;


}
